#ifndef BACKEND_H
#define BACKEND_H

#include <webhttpd/HttpRequest.h>
#include <webhttpd/HttpResponse.h>

void init_backend();
HttpResponse api_get_route(HttpRequest request);
HttpResponse api_del_route(HttpRequest request);
HttpResponse api_search_route(HttpRequest request);
HttpResponse api_edit_route(HttpRequest request);
HttpResponse api_add_route(HttpRequest request);
HttpResponse api_sort_route(HttpRequest request);
HttpResponse api_stat_route(HttpRequest request);

#endif //BACKEND_H
